package com.zxx.ssm.mapper;

import com.zxx.ssm.dao.Student;
import com.zxx.ssm.dao.StudentAvaliableTimeblock;
import com.zxx.ssm.dao.StudentAvaliableTimeblockExample;
import java.util.Date;
import java.util.List;

import com.zxx.ssm.dao.core.BaseMapper;
import com.zxx.ssm.model.biz.StuAvaTimeBiz;
import com.zxx.ssm.model.biz.StuAvaTimeblockBiz;
import org.apache.ibatis.annotations.Param;

public interface StudentAvaliableTimeblockMapper extends BaseMapper<StudentAvaliableTimeblock, StudentAvaliableTimeblockExample, Integer>{
    List<Student> getAvaTimeStu(@Param("curDay") Date curDay, @Param("timeblockId") Integer timeblockId);

    List<StuAvaTimeBiz> getAll(@Param("stuName") String stuName);

    List<StuAvaTimeblockBiz> getStuAvaTime(@Param("stuId") Integer stuId, @Param("firstDay") Date firstDay, @Param("lastDay") Date lastDay);
}